package com.titanrise.crm.environment.menu;

import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;

@Getter
public class MenuContext {
    @Setter
    private String currentPath;
    @Setter
    private Integer currentKey;

    private final HashMap<String, Object> state;

    public MenuContext(String path, Integer key) {
        this.currentPath = path;
        this.currentKey = key;
        this.state = new HashMap<>();
    }
}
